package com.pm.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.pm.common.core.domain.TreeSelect;
import com.pm.common.core.domain.model.POJOEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 项目模板版本
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProjectTempleteVersion extends POJOEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;





    /**
     * 模板版本名称
     */
    private String versionName;

    /**
     * 模板版本号
     */
    private String versionNo;

    /**
     * 状态 0正常 1停用
     */
    private String status;

    /**
     * 删除标识 0 未删除  2 已删除
     */
    private Integer delFlag;

    /**
     * 项目定义明细
     */
    @TableField(exist = false)
    private List<ProjectTempleteDefine> projectTempleteDefineList;

    @TableField(exist = false)
    private List<TreeSelect> treeSelectList;

    /**
     * 默认选中必填
     */
    @TableField(exist = false)
    private List<String> checkedList;




}
